-- GENERATED SPELL FOR [Angrathar Necrolord] --


function spell0_27603(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27603', 3000, 1)
end

function Sorts_27603(pUnit, Event)
local choix_sorts_27603 = math.random(0, 0)
if choix_sorts_27603 == 0 then
pUnit:RegisterEvent('spell0_27603', 1, 1)
end
end

function mob27603_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27603', math.random(1500, 3000), 1)
end

function mob27603_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27603_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27603_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27603, 1, 'mob27603_Action')
RegisterUnitEvent(27603, 2, 'mob27603_Leave')
RegisterUnitEvent(27603, 3, 'mob27603_Kill')
RegisterUnitEvent(27603, 4, 'mob27603_Die')
